<?php
$this->breadcrumbs=array(
	'Pictures'=>array('index'),
	$model->title,
);

$this->menu=array(
	array('label'=>'List Picture','url'=>array('index')),
	array('label'=>'Create Picture','url'=>array('create')),
	array('label'=>'Update Picture','url'=>array('update','id'=>$model->id)),
	array('label'=>'Delete Picture','url'=>'#','linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Picture','url'=>array('admin')),
);
?>

<h1>View Picture #<?php echo $model->id; ?></h1>

<?php $this->widget('bootstrap.widgets.TbDetailView',array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'title',
		'album_id',
		 array(
                    'label'=>'Thumb',
                    'type'=>'raw',
                    'value'=>CHtml::link(CHtml::image($model->thumb,$model->thumb),
                                         array('picture/update','id'=>$model->id)),
                ),
                array(
                    'label'=>'Source',
                    'type'=>'raw',
                    'value'=>CHtml::link(CHtml::image($model->source,$model->source),
                                         array('picture/update','id'=>$model->id)),
                ),
	),
)); ?>
